﻿using System;
using System.Collections.Generic;

namespace XuanXiang.Infrastructure.EFCore.MySql
{
    /// <summary>
    /// 商品类
    /// </summary>
    public partial class Good
    {
        /// <summary>
        /// 商品ID
        /// </summary>
        public string Gid { get; set; } = null!;
        /// <summary>
        /// 商品名称
        /// </summary>
        public string? Gname { get; set; }
        /// <summary>
        /// 商品类别
        /// </summary>
        public string? Gtype { get; set; }
        /// <summary>
        /// 商品封面
        /// </summary>
        public string? Gcover { get; set; }
        /// <summary>
        /// 商品规格
        /// </summary>
        public string? Gspecs { get; set; }
        /// <summary>
        /// 商品供应商ID
        /// </summary>
        public string? GSid { get; set; }
        /// <summary>
        /// 商品价格
        /// </summary>
        public double? Gprice { get; set; }
        /// <summary>
        /// 商品生产日期
        /// </summary>
        public DateTime? Gbirthday { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int? Gexpiryday { get; set; }
        /// <summary>
        /// 是否参加活动
        /// </summary>
        public int? GisPromote { get; set; }
        /// <summary>
        /// 活动价格
        /// </summary>
        public double? GpromotePrice { get; set; }
        /// <summary>
        /// 商品活动开始时间
        /// </summary>
        public DateTime? GpromoteBegin { get; set; }
        /// <summary>
        /// 商品活动结束时间
        /// </summary>
        public DateTime? GpromoteEnd { get; set; }
        /// <summary>
        /// 商品总库存
        /// </summary>
        public int? Ginventory { get; set; }
        /// <summary>
        /// 商品销量
        /// </summary>
        public int? Gsales { get; set; }
        /// <summary>
        /// 商品消耗
        /// </summary>
        public int? Gloss { get; set; }
        /// <summary>
        /// 是否禁用
        /// </summary>
        public int? GisBan { get; set; }
        /// <summary>
        /// 是否上架
        /// </summary>
        public int? GisShelve { get; set; }
        /// <summary>
        /// 商品描述
        /// </summary>
        public string? Gexplain { get; set; }
        /// <summary>
        /// 商品创建时间
        /// </summary>
        public DateTime? GcreateTime { get; set; }
    }
}
